#ifndef __IMA_SERVICE_CONSTANTS_H__
#define __IMA_SERVICE_CONSTANTS_H__


#define USER_SESSION_TIMEOUT		7200	//User will be logged out if inactive for more than this much seconds

/******************************************************************************
 * XML #defines
******************************************************************************/
#define IMA_SERVICE_XML_NS												"iamalive"
#define IMA_SERVICE_XML_NS_PREFIX									"ns"
#define IMA_SERVICE_XML_TAG_REGISTERUSER							"registeruser"
#define IMA_SERVICE_XML_TAG_CONFIRMUSERREGISTRATION 			"confirmuserregistration"
#define IMA_SERVICE_XML_TAG_UPDATEUSERDETAILS					"updateuserdetails"
#define IMA_SERVICE_XML_TAG_LOGIN									"login"
#define IMA_SERVICE_XML_TAG_LOGOUT									"logout"
#define IMA_SERVICE_XML_TAG_REGISTERRESPONSE						"registerresponse"
#define IMA_SERVICE_XML_TAG_CONFIRMUSERREGISTRATIONRESPONSE "confirmuserregistrationresponse"
#define IMA_SERVICE_XML_TAG_UPDATEUSERDETAILSRESPONSE			"updateuserdetailsresponse"
#define IMA_SERVICE_XML_TAG_LOGINRESPONSE							"loginresponse"
#define IMA_SERVICE_XML_TAG_LOGOUTRESPONSE						"logoutresponse"
#define IMA_SERVICE_XML_TAG_ADDINFO									"addinfo"
#define IMA_SERVICE_XML_TAG_ADDINFORESPONSE						"addinforesponse"
#define IMA_SERVICE_XML_TAG_SOURCE									"source"
#define IMA_SERVICE_XML_TAG_MESSAGES								"messages"
#define IMA_SERVICE_XML_TAG_MESSAGE									"message" 
#define IMA_SERVICE_XML_TAG_DETAILS									"details"
#define IMA_SERVICE_XML_TAG_EMAILID									"emailid"
#define IMA_SERVICE_XML_TAG_USERID									"userid"
#define IMA_SERVICE_XML_TAG_IMID										"imid"
#define IMA_SERVICE_XML_TAG_IMSERVICE								"imservice"
#define IMA_SERVICE_XML_TAG_TOKENID									"tokenid"
#define IMA_SERVICE_XML_TAG_PASSWORD								"password"
#define IMA_SERVICE_XML_TAG_NAME										"name"
#define IMA_SERVICE_XML_TAG_GENDER									"gender"
#define IMA_SERVICE_XML_TAG_ADDRESS									"address"
#define IMA_SERVICE_XML_TAG_CITY										"city"
#define IMA_SERVICE_XML_TAG_STATE									"state"
#define IMA_SERVICE_XML_TAG_COUNTRY									"country"
#define IMA_SERVICE_XML_TAG_ZIP										"zip"
#define IMA_SERVICE_XML_TAG_PHONE									"phone"
#define IMA_SERVICE_XML_TAG_DOB										"dob"
#define IMA_SERVICE_XML_TAG_INFO										"info"
#define IMA_SERVICE_XML_TAG_ID										"id"
#define IMA_SERVICE_XML_TAG_MEDIA									"media"	
#define IMA_SERVICE_XML_TAG_EXPIRY_DATE							"expirydate"	
#define IMA_SERVICE_XML_TAG_TTL										"ttl"	
#define IMA_SERVICE_XML_TAG_INFOID									"infoid"	
#define IMA_SERVICE_XML_TAG_ADDINFORECIPIENTS					"addinforecipients"
#define IMA_SERVICE_XML_TAG_ADDINFORECIPIENTSRESPONSE			"addinforecipientsresponse"
#define IMA_SERVICE_XML_TAG_DELETEINFORECIPIENT					"deleteinforecipient"
#define IMA_SERVICE_XML_TAG_DELETEINFORECIPIENTRESPONSE		"deleteinforecipientresponse"
#define IMA_SERVICE_XML_TAG_UPDATERECIPIENT						"updaterecipient"
#define IMA_SERVICE_XML_TAG_UPDATERECIPIENTRESPONSE			"updaterecipientresponse"
#define IMA_SERVICE_XML_TAG_RECIPIENTS								"recipients"
#define IMA_SERVICE_XML_TAG_RECIPIENT								"recipient"
#define IMA_SERVICE_XML_TAG_RELATION_WITH_OWNER					"relationship"
#define IMA_SERVICE_XML_TAG_UPDATEUSERDETAILS					"updateuserdetails"
#define IMA_SERVICE_XML_TAG_UPDATEUSERDETAILSRESPONSE			"updateuserdetailsresponse"
#define IMA_SERVICE_XML_TAG_CHANGEPASSWORD						"changepassword"
#define IMA_SERVICE_XML_TAG_CHANGEPASSWORDRESPONSE				"changepasswordresponse"
#define IMA_SERVICE_XML_TAG_NEWPASSWORD							"newpassword"
#define IMA_SERVICE_XML_TAG_FORGOTPASSWORD						"forgotpassword"
#define IMA_SERVICE_XML_TAG_FORGOTPASSWORDRESPONSE				"forgotpasswordresponse"
#define IMA_SERVICE_XML_TAG_DELETEINFO								"deleteinfo"
#define IMA_SERVICE_XML_TAG_DELETEINFORESPONSE					"deleteinforesponse"
#define IMA_SERVICE_XML_TAG_UPDATEINFO								"updateinfo"
#define IMA_SERVICE_XML_TAG_UPDATEINFORESPONSE					"updateinforesponse"
#define IMA_SERVICE_XML_TAG_RECIPIENTID							"recipientid"
#define IMA_SERVICE_XML_TAG_ADDRECIPIENT						"addrecipient"
#define IMA_SERVICE_XML_TAG_DELETERECIPIENT					"deleterecipient"
#define IMA_SERVICE_XML_TAG_ADDRECIPIENTRESPONSE			"addrecipientresponse"
#define IMA_SERVICE_XML_TAG_DELETERECIPIENTRESPONSE			"deleterecipientresponse"
#define IMA_SERVICE_XML_TAG_FETCHUSERDATA					"fetchuserdata"
#define IMA_SERVICE_XML_TAG_FETCHUSERDATARESPONSE			"fetchuserdataresponse"
#define IMA_SERVICE_XML_TAG_USERDETAILS						"userdetails"
#define IMA_SERVICE_XML_TAG_RECIPIENTLIST					"recipientlist"
#define IMA_SERVICE_XML_TAG_INFOLIST						"infolist"
#define IMA_SERVICE_XML_TAG_TEXT							"text"
#define IMA_SERVICE_XML_TAG_RECIPIENTSTOBEDISASSOCIATED			"recipientstobedisassociated"
#define IMA_SERVICE_XML_TAG_USERDATA						"userdata"
#define IMA_SERVICE_XML_TAG_CONFCODE						"confcode"
#define IMA_SERVICE_XML_TAG_USERFEEDBACK						"userfeedback"
#define IMA_SERVICE_XML_TAG_USERFEEDBACKRESPONSE				"userfeedbackresponse"
#define IMA_SERVICE_XML_TAG_SUBJECT							"subject"

#define IMA_SERVICE_XML_ATTRIB_STATUS								"status"
#define IMA_SERVICE_XML_ATTRIB_NAME									"name"
#define IMA_SERVICE_XML_ATTRIB_EMAILID								"emailid"
#define IMA_SERVICE_XML_ATTRIB_PHONE								"phone"
#define IMA_SERVICE_XML_ATTRIB_ADDRESS								"address"
#define IMA_SERVICE_XML_ATTRIB_RELATIONSHIP_WITH_OWNER		"relationship"
#define IMA_SERVICE_XML_ATTRIB_ID									"id"
#define IMA_SERVICE_XML_ATTRIB_RECIPIENTID						"recipientid"

#define IMA_SERVICE_XML_ATTRIB_VALUE_SUCCESS						"0"
#define IMA_SERVICE_XML_ATTRIB_VALUE_FAILURE						"-1"

#endif	//__IMA_SERVICE_CONSTANTS_H__
